CC = g++ -g
CFLAGS = -Iimlib -Id_Lib
LFLAGS = -lGL -lGLU -lSDL -L/usr/lib lib/libim.a lib/libd_Lib.a

PROG = Debug/Part_2

SRCS =   main.cc camera.cc MRChart.cc MRMesh.cc MRSection.cc
OBJS =   main.o camera.o MRChart.o MRMesh.o MRSection.o

all:
	$(CC) -c $(CFLAGS) $(SRCS)
	$(CC) -o $(PROG) $(OBJS) $(LFLAGS)

clean:
	-rm -rf *~ *bak *.o $(PROG)
